package com.warrior.superdata.util;

import com.warrior.superdata.mysql.entity.dto.ApiInfoDetailDto;

/**
 * @Description:
 * @ClassName: ApiUtil.java
 * @date: 2022/3/7 16:31
 * @author xujian
 */
public class ApiUtil {

    private final static String COLON = ":";

    public static String getApiUrl(ApiInfoDetailDto apiInfoDetailDto) {
        return apiInfoDetailDto.getMethod() + COLON + apiInfoDetailDto.getUrl();
    }

}
